package com.yy.bolg.entity.hik;

import java.util.List;

/**
 * 实时接收报警推送实体类
 * @author enmaoFu
 * @date 2024-12-14
 */
public class ReceiveWarningNotificationsBean {

    /**
     * fps : {"msgList":[{"body":{"data":[{"deviceType":"600012","resourceID":"470270866179072005","channelNo":"5","resourceSerial":"D38019754","unitName":"消控室","alarmNum":1099,"alarmLevel":2,"companyName":"蓝天白云科技有限公司","alarmTime":"2020-07-10T14:00:45.000+08:00","alarmStartTime":"2020-07-10T14:00:45.000+08:00","alarmStopTime":"2020-07-10T14:00:45.000+08:00","resourceName":"视频5@NP-FA108(D38019754)","alarmURLs":{"alarmURLs":[{"picURL":"https://i.ys7.com/streamer/alarm/url/get?fileId=20200710140007-D38019754-5-12011-2-1&deviceSerialNo=D38019754&cn=5&isEncrypted=0&isCloudStored=0&ct=1&lc=7&bn=1_hikalarm&isDevVideo=0"}]},"carNumber":"蓝浙GN1XXM,蓝浙GZXXX5","areaId":"456818283637628929","areaName":"办公室","companyID":"456433615859744768","alarmType":"200013","systemType":"500006","alarmID":"472202713965150208","unitID":"456818656569851905","resourceType":"980001107","otherMonitorValues":[{"dataValue":"19.90℃","eventType":"400006"},{"dataValue":"56.97%RH","eventType":"400016"},{"dataValue":"0.00","eventType":"400033"}]}],"dataType":"980002101","notifyType":null},"msgType":"980002"}]}
     */

    private FpsBean fps;

    public FpsBean getFps() {
        return fps;
    }

    public void setFps(FpsBean fps) {
        this.fps = fps;
    }

    public static class FpsBean {
        private List<MsgListBean> msgList;

        public List<MsgListBean> getMsgList() {
            return msgList;
        }

        public void setMsgList(List<MsgListBean> msgList) {
            this.msgList = msgList;
        }

        public static class MsgListBean {
            /**
             * body : {"data":[{"deviceType":"600012","resourceID":"470270866179072005","channelNo":"5","resourceSerial":"D38019754","unitName":"消控室","alarmNum":1099,"alarmLevel":2,"companyName":"蓝天白云科技有限公司","alarmTime":"2020-07-10T14:00:45.000+08:00","alarmStartTime":"2020-07-10T14:00:45.000+08:00","alarmStopTime":"2020-07-10T14:00:45.000+08:00","resourceName":"视频5@NP-FA108(D38019754)","alarmURLs":{"alarmURLs":[{"picURL":"https://i.ys7.com/streamer/alarm/url/get?fileId=20200710140007-D38019754-5-12011-2-1&deviceSerialNo=D38019754&cn=5&isEncrypted=0&isCloudStored=0&ct=1&lc=7&bn=1_hikalarm&isDevVideo=0"}]},"carNumber":"蓝浙GN1XXM,蓝浙GZXXX5","areaId":"456818283637628929","areaName":"办公室","companyID":"456433615859744768","alarmType":"200013","systemType":"500006","alarmID":"472202713965150208","unitID":"456818656569851905","resourceType":"980001107","otherMonitorValues":[{"dataValue":"19.90℃","eventType":"400006"},{"dataValue":"56.97%RH","eventType":"400016"},{"dataValue":"0.00","eventType":"400033"}]}],"dataType":"980002101","notifyType":null}
             * msgType : 980002
             */

            private BodyBean body;
            private String msgType;

            public BodyBean getBody() {
                return body;
            }

            public void setBody(BodyBean body) {
                this.body = body;
            }

            public String getMsgType() {
                return msgType;
            }

            public void setMsgType(String msgType) {
                this.msgType = msgType;
            }

            public static class BodyBean {
                /**
                 * data : [{"deviceType":"600012","resourceID":"470270866179072005","channelNo":"5","resourceSerial":"D38019754","unitName":"消控室","alarmNum":1099,"alarmLevel":2,"companyName":"蓝天白云科技有限公司","alarmTime":"2020-07-10T14:00:45.000+08:00","alarmStartTime":"2020-07-10T14:00:45.000+08:00","alarmStopTime":"2020-07-10T14:00:45.000+08:00","resourceName":"视频5@NP-FA108(D38019754)","alarmURLs":{"alarmURLs":[{"picURL":"https://i.ys7.com/streamer/alarm/url/get?fileId=20200710140007-D38019754-5-12011-2-1&deviceSerialNo=D38019754&cn=5&isEncrypted=0&isCloudStored=0&ct=1&lc=7&bn=1_hikalarm&isDevVideo=0"}]},"carNumber":"蓝浙GN1XXM,蓝浙GZXXX5","areaId":"456818283637628929","areaName":"办公室","companyID":"456433615859744768","alarmType":"200013","systemType":"500006","alarmID":"472202713965150208","unitID":"456818656569851905","resourceType":"980001107","otherMonitorValues":[{"dataValue":"19.90℃","eventType":"400006"},{"dataValue":"56.97%RH","eventType":"400016"},{"dataValue":"0.00","eventType":"400033"}]}]
                 * dataType : 980002101
                 * notifyType : null
                 */

                private String dataType;
                private Object notifyType;
                private List<DataBean> data;

                public String getDataType() {
                    return dataType;
                }

                public void setDataType(String dataType) {
                    this.dataType = dataType;
                }

                public Object getNotifyType() {
                    return notifyType;
                }

                public void setNotifyType(Object notifyType) {
                    this.notifyType = notifyType;
                }

                public List<DataBean> getData() {
                    return data;
                }

                public void setData(List<DataBean> data) {
                    this.data = data;
                }

                public static class DataBean {
                    /**
                     * deviceType : 600012
                     * resourceID : 470270866179072005
                     * channelNo : 5
                     * resourceSerial : D38019754
                     * unitName : 消控室
                     * alarmNum : 1099
                     * alarmLevel : 2
                     * companyName : 蓝天白云科技有限公司
                     * alarmTime : 2020-07-10T14:00:45.000+08:00
                     * alarmStartTime : 2020-07-10T14:00:45.000+08:00
                     * alarmStopTime : 2020-07-10T14:00:45.000+08:00
                     * resourceName : 视频5@NP-FA108(D38019754)
                     * alarmURLs : {"alarmURLs":[{"picURL":"https://i.ys7.com/streamer/alarm/url/get?fileId=20200710140007-D38019754-5-12011-2-1&deviceSerialNo=D38019754&cn=5&isEncrypted=0&isCloudStored=0&ct=1&lc=7&bn=1_hikalarm&isDevVideo=0"}]}
                     * carNumber : 蓝浙GN1XXM,蓝浙GZXXX5
                     * areaId : 456818283637628929
                     * areaName : 办公室
                     * companyID : 456433615859744768
                     * alarmType : 200013
                     * systemType : 500006
                     * alarmID : 472202713965150208
                     * unitID : 456818656569851905
                     * resourceType : 980001107
                     * otherMonitorValues : [{"dataValue":"19.90℃","eventType":"400006"},{"dataValue":"56.97%RH","eventType":"400016"},{"dataValue":"0.00","eventType":"400033"}]
                     */

                    private String deviceType;
                    private String resourceID;
                    private String channelNo;
                    private String resourceSerial;
                    private String unitName;
                    private int alarmNum;
                    private int alarmLevel;
                    private String companyName;
                    private String alarmTime;
                    private String alarmStartTime;
                    private String alarmStopTime;
                    private String resourceName;
                    private AlarmURLsBeanX alarmURLs;
                    private String carNumber;
                    private String areaId;
                    private String areaName;
                    private String companyID;
                    private String alarmType;
                    private String systemType;
                    private String alarmID;
                    private String unitID;
                    private String resourceType;
                    private List<OtherMonitorValuesBean> otherMonitorValues;

                    public String getDeviceType() {
                        return deviceType;
                    }

                    public void setDeviceType(String deviceType) {
                        this.deviceType = deviceType;
                    }

                    public String getResourceID() {
                        return resourceID;
                    }

                    public void setResourceID(String resourceID) {
                        this.resourceID = resourceID;
                    }

                    public String getChannelNo() {
                        return channelNo;
                    }

                    public void setChannelNo(String channelNo) {
                        this.channelNo = channelNo;
                    }

                    public String getResourceSerial() {
                        return resourceSerial;
                    }

                    public void setResourceSerial(String resourceSerial) {
                        this.resourceSerial = resourceSerial;
                    }

                    public String getUnitName() {
                        return unitName;
                    }

                    public void setUnitName(String unitName) {
                        this.unitName = unitName;
                    }

                    public int getAlarmNum() {
                        return alarmNum;
                    }

                    public void setAlarmNum(int alarmNum) {
                        this.alarmNum = alarmNum;
                    }

                    public int getAlarmLevel() {
                        return alarmLevel;
                    }

                    public void setAlarmLevel(int alarmLevel) {
                        this.alarmLevel = alarmLevel;
                    }

                    public String getCompanyName() {
                        return companyName;
                    }

                    public void setCompanyName(String companyName) {
                        this.companyName = companyName;
                    }

                    public String getAlarmTime() {
                        return alarmTime;
                    }

                    public void setAlarmTime(String alarmTime) {
                        this.alarmTime = alarmTime;
                    }

                    public String getAlarmStartTime() {
                        return alarmStartTime;
                    }

                    public void setAlarmStartTime(String alarmStartTime) {
                        this.alarmStartTime = alarmStartTime;
                    }

                    public String getAlarmStopTime() {
                        return alarmStopTime;
                    }

                    public void setAlarmStopTime(String alarmStopTime) {
                        this.alarmStopTime = alarmStopTime;
                    }

                    public String getResourceName() {
                        return resourceName;
                    }

                    public void setResourceName(String resourceName) {
                        this.resourceName = resourceName;
                    }

                    public AlarmURLsBeanX getAlarmURLs() {
                        return alarmURLs;
                    }

                    public void setAlarmURLs(AlarmURLsBeanX alarmURLs) {
                        this.alarmURLs = alarmURLs;
                    }

                    public String getCarNumber() {
                        return carNumber;
                    }

                    public void setCarNumber(String carNumber) {
                        this.carNumber = carNumber;
                    }

                    public String getAreaId() {
                        return areaId;
                    }

                    public void setAreaId(String areaId) {
                        this.areaId = areaId;
                    }

                    public String getAreaName() {
                        return areaName;
                    }

                    public void setAreaName(String areaName) {
                        this.areaName = areaName;
                    }

                    public String getCompanyID() {
                        return companyID;
                    }

                    public void setCompanyID(String companyID) {
                        this.companyID = companyID;
                    }

                    public String getAlarmType() {
                        return alarmType;
                    }

                    public void setAlarmType(String alarmType) {
                        this.alarmType = alarmType;
                    }

                    public String getSystemType() {
                        return systemType;
                    }

                    public void setSystemType(String systemType) {
                        this.systemType = systemType;
                    }

                    public String getAlarmID() {
                        return alarmID;
                    }

                    public void setAlarmID(String alarmID) {
                        this.alarmID = alarmID;
                    }

                    public String getUnitID() {
                        return unitID;
                    }

                    public void setUnitID(String unitID) {
                        this.unitID = unitID;
                    }

                    public String getResourceType() {
                        return resourceType;
                    }

                    public void setResourceType(String resourceType) {
                        this.resourceType = resourceType;
                    }

                    public List<OtherMonitorValuesBean> getOtherMonitorValues() {
                        return otherMonitorValues;
                    }

                    public void setOtherMonitorValues(List<OtherMonitorValuesBean> otherMonitorValues) {
                        this.otherMonitorValues = otherMonitorValues;
                    }

                    public static class AlarmURLsBeanX {
                        private List<AlarmURLsBean> alarmURLs;

                        public List<AlarmURLsBean> getAlarmURLs() {
                            return alarmURLs;
                        }

                        public void setAlarmURLs(List<AlarmURLsBean> alarmURLs) {
                            this.alarmURLs = alarmURLs;
                        }

                        public static class AlarmURLsBean {
                            /**
                             * picURL : https://i.ys7.com/streamer/alarm/url/get?fileId=20200710140007-D38019754-5-12011-2-1&deviceSerialNo=D38019754&cn=5&isEncrypted=0&isCloudStored=0&ct=1&lc=7&bn=1_hikalarm&isDevVideo=0
                             */

                            private String picURL;

                            public String getPicURL() {
                                return picURL;
                            }

                            public void setPicURL(String picURL) {
                                this.picURL = picURL;
                            }
                        }
                    }

                    public static class OtherMonitorValuesBean {
                        /**
                         * dataValue : 19.90℃
                         * eventType : 400006
                         */

                        private String dataValue;
                        private String eventType;

                        public String getDataValue() {
                            return dataValue;
                        }

                        public void setDataValue(String dataValue) {
                            this.dataValue = dataValue;
                        }

                        public String getEventType() {
                            return eventType;
                        }

                        public void setEventType(String eventType) {
                            this.eventType = eventType;
                        }
                    }
                }
            }
        }
    }
}
